package FinancialManagement;

import java.awt.event.KeyAdapter;
import java.awt.event.KeyEvent;

public class keyAdapter extends KeyAdapter {

    public void keyTyped(KeyEvent e) {

        if (!Character.isDigit(e.getKeyChar()))

            e.consume();

    }

}

